﻿#pragma once
#include "CodeGen.h"

class ValueGen : public CodeGen
{
public:
	ValueGen(AstType* t, llvm::Value* v) : value(v) {
		type = t;
	}
	llvm::Value* value = nullptr;

	virtual llvm::Value* generateCode(llvm::Module *m, llvm::Function *func, llvm::IRBuilder<>&builder) {
		return value;
	}
};
